package com.bigdad.demo201542;

import android.support.v7.app.ActionBarActivity;
import android.app.Activity;
import android.os.Bundle;
import android.view.Display;
import android.view.Menu;
import android.view.MenuItem;
import android.view.View;
import android.view.View.OnClickListener;
import android.view.Window;
import android.view.WindowManager;
import android.widget.Button;
import android.widget.TextView;


public class MainActivity extends Activity {
    public static int scrh,scrw;

	
	@Override
	protected void onCreate(Bundle savedInstanceState) {
				super.onCreate(savedInstanceState);
				this.getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParams.FLAG_FULLSCREEN);
				this.requestWindowFeature(Window.FEATURE_NO_TITLE);
				Display display =getWindowManager().getDefaultDisplay();
				scrh=display.getHeight();
				scrw=display.getWidth();
				setContentView(new snake(this));
		
	}


}
